package com.ruoyi.mobile.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户预约对象 user_pre_book
 * 
 * @author ruoyi
 * @date 2024-05-02
 */
public class UserPreBook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 预约类型，1：入院预约，2.治疗床位预约 */
    @Excel(name = "预约类型，1：入院预约，2.治疗床位预约")
    private Integer applyType;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userid;

    /** 用户明 */
    @Excel(name = "用户明")
    private String userName;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String mobile;

    /** 医保类型 */
    @Excel(name = "医保类型")
    private Integer yibaoType;

    /** 期望时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "期望时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expectedTime;

    /** 最终确定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最终确定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApplyType(Integer applyType) 
    {
        this.applyType = applyType;
    }

    public Integer getApplyType() 
    {
        return applyType;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setYibaoType(Integer yibaoType) 
    {
        this.yibaoType = yibaoType;
    }

    public Integer getYibaoType() 
    {
        return yibaoType;
    }
    public void setExpectedTime(Date expectedTime) 
    {
        this.expectedTime = expectedTime;
    }

    public Date getExpectedTime() 
    {
        return expectedTime;
    }
    public void setConfirmTime(Date confirmTime) 
    {
        this.confirmTime = confirmTime;
    }

    public Date getConfirmTime() 
    {
        return confirmTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applyType", getApplyType())
            .append("userid", getUserid())
            .append("userName", getUserName())
            .append("mobile", getMobile())
            .append("yibaoType", getYibaoType())
            .append("expectedTime", getExpectedTime())
            .append("confirmTime", getConfirmTime())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .toString();
    }
}
